package com.ttai.dagger.module.activity;

import com.ttai.presenter.activity.AddIdAcountPresenter;
import com.ttai.ui.activity.AddIdAcount;

import dagger.Module;
import dagger.Provides;

@Module
public class AddIdAcountPresenterModule {
    AddIdAcount addIdAcount;

    public AddIdAcountPresenterModule(AddIdAcount addIdAcount) {
        this.addIdAcount = addIdAcount;
    }

    @Provides
    AddIdAcountPresenter provideAddAcountPresenter(){
        return new AddIdAcountPresenter(addIdAcount);
    }
}
